/*
 * Powered By XY
 * Since 2020
 */

package com.xy.biz.ts.client;

import java.util.Collection;
import java.util.List;

import com.xy.lang.domain.Page;
import com.xy.lang.domain.Result;
import com.xy.biz.ts.domain.resp.GetTrainFlowHandleResponse;
import com.xy.biz.ts.domain.req.GetTrainFlowHandleRequest;
import com.xy.biz.ts.domain.req.ListTrainFlowHandleRequest;

/**
 * 
 * 
 * @author zgy
 * @date 2021-6-28
 */
public interface TrainFlowHandleClient {
	
	/**
	 * 查找一个
	 *
	 * @param request
	 * @return
	 */
	Result<GetTrainFlowHandleResponse> getTrainFlowHandle(GetTrainFlowHandleRequest request);
	
	/**
	 * 查找多个
	 *
	 * @param collection 标识集合
	 * @return
	 */
	Result<List<GetTrainFlowHandleResponse>> listTrainFlowHandleById(Collection<Long> collection);
	
	/**
	 * 查找多个
	 *
	 * @param request 查找条件
	 * @return
	 */
	Result<List<GetTrainFlowHandleResponse>> listTrainFlowHandle(ListTrainFlowHandleRequest request);
	
	/**
	 * 统计个数
	 *
	 * @param request 查找条件
	 * @return
	 */
	Result<Integer> countTrainFlowHandle(ListTrainFlowHandleRequest request);
	
	/**
	 * 分页查找
	 *
	 * @param request 查找条件
	 * @return
	 */
	Result<Page<GetTrainFlowHandleResponse>> pageTrainFlowHandle(ListTrainFlowHandleRequest request);
	
}
